package com.kunlun.basedata.dao;

import com.kunlun.basedata.model.SystemLinkModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ISystemLinkDao {

    List<SystemLinkModel> getAllLinks(@Param("dataType") String dataType, @Param("linkName") String linkName) throws Exception;

    void onAddLink(SystemLinkModel linkModel) throws Exception;

    void onUpdateLink(SystemLinkModel linkModel) throws Exception;

    void onDelete(String id) throws Exception;
}
